﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OA.DBUtility;

namespace OA.Model
{
    /// <summary>
    /// 表示合同甲方实体类
    /// </summary>
    [MappingTable("ContractA")]
    public class ContractAInfo
    {
        #region Model
        private int _id;
        private string _contractid;
        private string _contractnum;
        private string _contractname;
        private DateTime? _signtime;
        private decimal? _contractamount;
        private string _contractb;
        private string _contractposition;
        private DateTime? _registertime;
        /// <summary>
        /// 
        /// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ContractId")]
        public string ContractId
        {
            set { _contractid = value; }
            get { return _contractid; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ContractNum")]
        public string ContractNum
        {
            set { _contractnum = value; }
            get { return _contractnum; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ContractName")]
        public string ContractName
        {
            set { _contractname = value; }
            get { return _contractname; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("SignTime")]
        public DateTime? SignTime
        {
            set { _signtime = value; }
            get { return _signtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ContractAmount")]
        public decimal? ContractAmount
        {
            set { _contractamount = value; }
            get { return _contractamount; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ContractB")]
        public string ContractB
        {
            set { _contractb = value; }
            get { return _contractb; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ContractPosition")]
        public string ContractPosition
        {
            set { _contractposition = value; }
            get { return _contractposition; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("RegisterTime")]
        public DateTime? RegisterTime
        {
            set { _registertime = value; }
            get { return _registertime; }
        }
        #endregion Model
    }
}
